package com.timebank.score.mapper;

import com.timebank.score.pojo.entity.LotteryLog;
import com.timebank.score.pojo.vo.LotteryLogVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 抽奖记录
 * @author shiliuyinzhen
 */
@Mapper
public interface LotteryLogMapper {

    /**
     * 新增抽奖记录
     *
     * @param lotteryLog
     */
    int addLotteryLog(LotteryLog lotteryLog);

    /***
     * 查询抽奖记录
     * @param lotteryLog
     * @return
     */
    List<LotteryLogVO> getLotteryLogList(LotteryLog lotteryLog);
}
